<?php

namespace app\home\controllers;

use core\Request;

class Hello
{
    public function index() {
        $data = [
            'a' => '<b>粗体字</b>',
            'b' => '中华人民共和国',
        ];

        return view('home/hello', [
            'data' => $data,
        ]);
    }

    public function world() {
        $name = input('name');
        $pwd = input('pwd');

        dump($name, $pwd);
    }
}